package learnjava.jvm;

public class TestFinally {


    public static void main(String[] args) {
        System.out.println(new TestFinally().test());
    }

    public int test(){
        int i;
        try{
            i = 10;
            return i;
        }finally {
            i = 20;
            System.out.println(i);
        }
    }
}
